class WorkingDomain < ActiveRecord::Base
has_many :assignment_templates
belongs_to :parent,
:class_name => "WorkingDomain" ,
:foreign_key => "parent_id"

has_many :sub_domains,
:class_name => "WorkingDomain" ,
:foreign_key => "parent_id"
end
